An actor ease callback could destroy the actor, in such case we should do not
touch the actor anymore.
So, before calling the callback, reset restore the easing state and don't
perform any further action with it.
Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1507
animatedProps.forEach(p => actor.remove_transition(p));
actor.set(params);
+ actor.restore_easing_state();
if (callback) {
let transition = actor.get_transition(animatedProps[0]);
else
callback(true);
}
-
- actor.restore_easing_state();
}
function _easeActorProperty(actor, propName, target, params) {